package com.nanako.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
public class UserOrdersExport {
    @ExcelProperty("订单号")
    private String orderNumber;
    @ExcelProperty("订单状态")
    private String orderStatus;
    @ExcelProperty("用户名字")
    private String username;
    @ExcelProperty("用户手机号")
    private String userPhone;
    @ExcelProperty("用户地址")
    private String address;
    @ExcelProperty("下单时间")
    private LocalDateTime orderTime;
    @ExcelProperty("付款时间")
    private LocalDateTime checkOutTime;
    @ExcelProperty("总金额")
    private BigDecimal amount;
    @ExcelProperty("收货人")
    private String consignee;
    @ExcelProperty("备注")
    private String remark;
}
